package Work0519;

public class Television {
	private String colour;
	private int price;
	private double screenSize;

	public Television(String colour, int price, double screenSize) {
		this.colour = colour;
		this.price = price;
		this.screenSize = screenSize;
	}

	private void open() {
		System.out.println("开机");
	}

	private void close() {
		System.out.println("关闭");
	}

	private void changeStation() {
		System.out.println("换台");
	}

	public void show() {
		System.out.println("这是一台屏幕大小为" + screenSize + "寸,颜色为" + colour + ",价格为" + price + "元大彩电.");
	}
}
